package org.yefei.homeworkday17.five;

public class TestScan {
	public static void main(String[] args) {
		Scan i = new Scan("voice");
		Move f = new Fish("莎莎", "8m/s");
		Move d = new Dolphin("拉拉", "15m/s");
		Move s = new Submarine("歼-909", "30m/s");
		i.scan(f);
		i.scan(d);
		i.scan(s);
	}
}
